package com.zoro.interviewee.sting;

/**
 * @author zhaoxingwu
 */
public class RunTest {

    public static void main(String[] args) {

        String s1 = "hello";
        String s2 = "hello";
        String s3 = new String("hello");
        System.out.println(s1 == s2);
        System.out.println(s2 == s3);

        String s4 = "hello ";
        String s5 = "world";
        String s6 = s4 + s5;
        String s7 = "hello world";
        System.out.println(s6 == s7);

    }
}
